package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: CheckInRule 
* @Description: 签到-亲币规则说明定义表
* @author eason
* @date 2015年3月23日 下午1:00:00 
*
 */
@Entity
@Table(name = "tb_xa_checkinrule")
@ApiModel(value="签到-亲币规则说明定义表")
public class CheckInRule extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="规则标题,标题")
	private String rule_title;
	@ApiModelProperty(value="规则内容,内容")
	private String content;
	@ApiModelProperty(value="赚钱还是消费（-1:消费；1:赚钱）,获取亲币，亲币使用")
	private Integer consumeOrMakeMoney;
		
	
	public void setRule_title(String rule_title){
		this.rule_title=rule_title;
	}
	
	@Column(nullable=true,length=50)
	public String getRule_title(){
		return rule_title;
	}
	public void setContent(String content){
		this.content=content;
	}
	
	@Column(nullable=true,length=2000,columnDefinition="MEDIUMTEXT")
	public String getContent(){
		return content;
	}
	public void setConsumeOrMakeMoney(Integer consumeOrMakeMoney){
		this.consumeOrMakeMoney=consumeOrMakeMoney;
	}
	
	@Column(nullable=true,length=50)
	public Integer getConsumeOrMakeMoney(){
		return consumeOrMakeMoney;
	}
		

}
